<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>消息详情</title>
    <script src="js/mui.min.js"></script>
	<link href="css/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="css/iconfont.css" />
	<link rel="stylesheet" href="css/style.css" />
	<link rel="stylesheet" href="css/member.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">系统消息</h1>
	</header>
	<div class="mui-content message_content">
	    <ul class="mes_page_list" id="xi">
	    	<!--
            	<li>
	    		<div class="mes_ptime"><span>2017年4月12日</span></div>
	    		<div class="mes_pcon">
	    			<p class="mes_pbt">李小璐吐槽台词太多 担心咽喉炎求支招</p>
	    		</div>
	    	</li>
            -->
	    </ul>
	</div>
</body>
<div id="footer"></div>
	<script type="text/javascript" src="js/app.js"></script>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/layer/layer.min.js"></script>
	<script type="text/javascript">
		$(function() {
			get_navigation();
getFoot(getUrlParam("foot_active") > 0 ? getUrlParam("foot_active") : 4);	
	var member = JSON.parse(localStorage.getItem('member'));
		$.ajax({
			//type: 'post',
			url: APP.api_url + 'member/xiaoxi',
			data: {
				uid:member['id']
			},
			dataType:'jsonp',
			success: function(data) {
				if(data.code == 200) {
					var json = data.data;
					var html="";
					for(var i = 0; i < json.length; i++) {
					html+='<li><div class="mes_ptime"><span>'+json[i].add_time+'</span></div>'+
	    		'<div class="mes_pcon"><p class="mes_pbt">'+json[i].content+'</p></div></li>';
					}
					document.getElementById("xi").innerHTML=html;	
				} else {
					$("#no_message").show();
					console.log(data.msg);
				}
			}
		})
	});	
	</script>
</html>
